
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="UTF-8">
    <title>购房资格测试器</title>
    <script src="static/jquery.min.js" type="text/javascript"></script>
</head>
<body>
                        <div id="QuestionList" class="question-list"></div>
                    <div class="step-action">
                        <a id="BtnPre" class="btn gray-btn" href="javascript:;">上一步</a>
                        <a id="BtnNext" class="btn blue-btn" href="javascript:;">下一步</a>
                    </div>
    <script type="text/javascript" src="static/data.json"></script>
    <script type="text/javascript">
        var datax = localStorage["data"];
        if(!datax){
            localStorage["data"] = JSON.stringify(data);
        }
        data = JSON.parse(datax);
        $.ajax({
          url: "http://www.rong360.com/api/hpdata?lasttime=xxxx"
        }).done(function ( _data ) {
          if(_data != "0") {
            //data = JSON.parse(_data);
            localStorage["data"] = _data;
            //alert(_data);
            //console.log("Sample of data:", data.slice(0, 100));
          }
        });
    </script>
    <script type="text/javascript" src="static/fangdai.js"></script>
</body>
</html>